<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <MonoForceInterpreter>false</MonoForceInterpreter>
    <RunAOTCompilation>true</RunAOTCompilation>
    <AOTWithLibraryFiles>true</AOTWithLibraryFiles>
    <TestRuntime>true</TestRuntime>
    <TargetFramework>$(NetCoreAppCurrent)</TargetFramework>
    <MainLibraryFileName>Android.Device_Emulator.Aot_Profiled.Test.dll</MainLibraryFileName>
    <ExpectedExitCode>42</ExpectedExitCode>
    <EnableAggressiveTrimming>true</EnableAggressiveTrimming>
  </PropertyGroup>

  <!-- Tracing -->
  <PropertyGroup>
    <!-- <DiagnosticPorts>127.0.0.1:9000,suspend</DiagnosticPorts> -->
  </PropertyGroup>

  <ItemGroup>
    <!-- <RuntimeComponents Include="diagnostics_tracing" /> -->
  </ItemGroup>

  <!-- Profiled AOT with .nettrace -->
  <PropertyGroup>
    <!-- <NetTraceFilePath Condition="'$(Configuration)' == 'Release'">$(MSBuildThisFileDirectory)\test_release.nettrace</NetTraceFilePath> -->
    <!-- <NetTraceFilePath Condition="'$(Configuration)' == 'Debug'">$(MSBuildThisFileDirectory)\test_debug.nettrace</NetTraceFilePath> -->
  </PropertyGroup>

  <!-- Profiled AOT with .mibc-->
  <PropertyGroup>
    <ProfiledAOTProfilePaths Condition="'$(Configuration)' == 'Release'">$(MSBuildThisFileDirectory)\test_release.mibc</ProfiledAOTProfilePaths>
    <ProfiledAOTProfilePaths Condition="'$(Configuration)' == 'Debug'">$(MSBuildThisFileDirectory)\test_debug.mibc</ProfiledAOTProfilePaths>
  </PropertyGroup>

  <ItemGroup>
    <Compile Include="Program.cs" />
  </ItemGroup>
</Project>
